import { Column, Entity, Index } from 'typeorm';
import { BaseEntity } from '../../base/entity/base'; // Correct path as per rules

/**
 * 品牌信息
 */
@Entity('brand_info') // Table name convention: module_entity_name
export class BrandInfoEntity extends BaseEntity {
  @Column({ comment: '品牌ID', length: 64, unique: true }) // Assuming brandID should be unique
  brandID: string;

  @Column({ comment: '品牌名称', length: 100 })
  name: string;

  @Column({ comment: '品牌官网或相关链接', nullable: true, type: 'text' }) // Use text for potentially long URLs
  url: string;
} 